package bee2d.spritesheet;

/**
 * ...
 * @author wangjian QQ:421924396
 */
import nme.display.BitmapData;
class Frame 
{

	private var bitmapData:BitmapData;
	public var height:Int;
	public var offsetX:Int;
	public var offsetY:Int;
	public var width:Int;
	public var x:Int;
	public var y:Int;
	public var id:Int;
	public var tileid:Int;
	
	public function new (x:Int = 0, y:Int = 0, width:Int = 0, height:Int = 0, offsetX:Int = 0, offsetY:Int = 0,id:Int) {
		
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
		this.offsetX = offsetX;
		this.offsetY = offsetY;
		this.id = id;
	}
}